package com.xl.minyue.tc2.until;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class PunchJob extends QuartzJobBean {



    //定义任务执行体
    @Override
    protected void executeInternal(JobExecutionContext ctx) throws JobExecutionException {

    }

    //测试---1
    public void start(){
       System.out.println("执行定时任务开始!-----------start");
    }

    //测试----2
    public void stop(){
        System.out.println("执行定时任务结束!-------stop");
    }

    //定时任务--正式
    public void asyncDataFromPIToMysql(){

    }


}
